package com.juai.centralkitchen.application;

import android.app.Application;
import android.content.Context;
import android.os.StrictMode;
import android.util.Log;

import androidx.annotation.NonNull;

import com.bridge.common.base.BaseCommonApp;
import com.bridge.common.http.HttpConfig;
import com.bridge.common.http.HttpManager;
import com.bridge.common.interfaces.Services;
import com.juai.centralkitchen.speechsynthesis.TtsSyntherizer;
import com.scwang.smartrefresh.layout.SmartRefreshLayout;
import com.scwang.smartrefresh.layout.api.DefaultRefreshFooterCreator;
import com.scwang.smartrefresh.layout.api.DefaultRefreshHeaderCreator;
import com.scwang.smartrefresh.layout.api.RefreshFooter;
import com.scwang.smartrefresh.layout.api.RefreshHeader;
import com.scwang.smartrefresh.layout.api.RefreshLayout;
import com.scwang.smartrefresh.layout.constant.SpinnerStyle;
import com.scwang.smartrefresh.layout.footer.ClassicsFooter;
import com.scwang.smartrefresh.layout.header.ClassicsHeader;
import com.xiaomi.mipush.sdk.MiPushClient;

import cn.jpush.android.api.JPushInterface;

/**
 * @ClassName MyApp
 * @Description TODO 主程序
 * @Author biekangdong
 * @CreateDate 2021/4/16 18:26
 * @Version 1.0
 * @UpdateDate 2021/4/16 18:26
 * @UpdateRemark 更新说明
 */
public class MyApp extends Application {

    private static final String TAG = "MyApp";
    @Override
    public void onCreate() {
        super.onCreate();
        BaseCommonApp.setInstance(this);
        JPushInterface.setDebugMode(true);
        JPushInterface.init(this);
        TtsSyntherizer.getInstance(this).initTTs();
    }

}
